<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%--
  Created by IntelliJ IDEA.
  User: mingz
  Date: 2018/5/1
  Time: 13:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="/static/plugins/easyui/themes/bootstrap/easyui.css">
    <link rel="stylesheet" type="text/css" href="/static/plugins/easyui/themes/icon.css">
    <script type="text/javascript" src="/static/plugins/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="/static/plugins/easyui/jquery.easyui.min.js"></script>
    <!--引入中文包-->
    <script type="text/javascript" src="/static/plugins/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/static/js/index.js"></script>

    <script type="text/javascript" src="/static/js/productClassify.js"></script>
</head>
<body>
    <%--商品分类表格--%>
    <table id="classify_datagrid">
    </table>
    <div id="classify_button">
        <a class="easyui-linkbutton" data-cmd="add" data-options="iconCls:'icon-add',plain:true" a>新增</a>
        <a class="easyui-linkbutton" data-cmd="edit" data-options="iconCls:'icon-edit',plain:true" a>编辑</a>
        <a class="easyui-linkbutton" data-cmd="delete" data-options="iconCls:'icon-cut',plain:true" a>删除</a>
    </div>
    <div id="btn">
        <a class="easyui-linkbutton" iconCls="icon-save" plain="true"  data-cmd="save">保存</a>
        <a class="easyui-linkbutton" iconCls="icon-cancel" data-options="plain:true"  data-cmd="cancel">取消</a>
    </div>
    <%--弹出窗口--%>
    <div id="classify_dialog" class="easyui-dialog" data-options="title:'编辑',iconCls:'icon-myedit',closed:true">
        <!--创建表单-->
        <form id="classify_form" method="post">
            <table align="center" style="margin-top:15px">
                <input type="hidden" name="id" id="empId"/>
                <tr>
                    <td align="center">商品类型:</td>
                    <td><input name="type" class="easyui-textbox"  prompt="请选择类型"/>
                    </td>
                </tr>
                <tr>
                    <td align="center">一级类别名称:</td>
                    <td><input name="classname" class="easyui-combobox" id="seleClass" prompt="一级类别"
                          <%--data-options="
                          panelHeight:'auto',
                          textField:'classname',
                          valueField:'classNumber',
                          url:'/productClassify/listAll.do',
                          editble:false,
                          required:true
                    "--%>/>
                    </td>
                </tr>
                <tr>
                    <td align="center">二级类别名称</td>
                    <td><input id="seleLink" name="linkName" class="easyui-combobox" prompt="二级类别"
                       <%-- data-options="
                        panelHeight:'auto',
                        textField:'linkName',
                        valueField:'linkId',
                        url:'/classifyChild/listAll.do',
                        editble:false,
                        required:true
                    "--%>/>

                    </td>
                </tr>
                <tr>
                    <td align="center">关联序号</td>
                    <td><input name="classNumber" class="easyui-textbox" prompt="请选择序号"/>
                    </td>
                </tr>
            </table>
        </form>
    </div>

</body>
</html>
